3.1.91 \(\int \frac {b+2 c x}{-a+b x+c x^2} \, dx\)

Optimal. Leaf size=13 \[ \log \left (a-b x-c x^2\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {628} \begin {gather*} \log \left (a-b x-c x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b + 2*c*x)/(-a + b*x + c*x^2),x]

[Out]

Log[a - b*x - c*x^2]

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin {align*} \int \frac {b+2 c x}{-a+b x+c x^2} \, dx &=\log \left (a-b x-c x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 12, normalized size = 0.92 \begin {gather*} \log (x (b+c x)-a) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b + 2*c*x)/(-a + b*x + c*x^2),x]

[Out]

Log[-a + x*(b + c*x)]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {b+2 c x}{-a+b x+c x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(b + 2*c*x)/(-a + b*x + c*x^2),x]

[Out]

IntegrateAlgebraic[(b + 2*c*x)/(-a + b*x + c*x^2), x]

________________________________________________________________________________________

fricas [A]  time = 0.85, size = 13, normalized size = 1.00 \begin {gather*} \log \left (c x^{2} + b x - a\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*x+b)/(c*x^2+b*x-a),x, algorithm="fricas")

[Out]

log(c*x^2 + b*x - a)

________________________________________________________________________________________

giac [A]  time = 0.39, size = 14, normalized size = 1.08 \begin {gather*} \log \left ({\left | c x^{2} + b x - a \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*x+b)/(c*x^2+b*x-a),x, algorithm="giac")

[Out]

log(abs(c*x^2 + b*x - a))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 14, normalized size = 1.08 \begin {gather*} \ln \left (c \,x^{2}+b x -a \right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*c*x+b)/(c*x^2+b*x-a),x)

[Out]

ln(c*x^2+b*x-a)

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 13, normalized size = 1.00 \begin {gather*} \log \left (c x^{2} + b x - a\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*x+b)/(c*x^2+b*x-a),x, algorithm="maxima")

[Out]

log(c*x^2 + b*x - a)

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 13, normalized size = 1.00 \begin {gather*} \ln \left (c\,x^2+b\,x-a\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b + 2*c*x)/(b*x - a + c*x^2),x)

[Out]

log(b*x - a + c*x^2)

________________________________________________________________________________________

sympy [A]  time = 0.15, size = 10, normalized size = 0.77 \begin {gather*} \log {\left (- a + b x + c x^{2} \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*x+b)/(c*x**2+b*x-a),x)

[Out]

log(-a + b*x + c*x**2)

________________________________________________________________________________________